/**
 * Created by zhaojiuyang1 on 15/7/7.
 */

var emitter = require('./emitter');
var gpio = require("pi-gpio");
function tt(){
    setInterval(function(){
        emitter.emit("test");
    },1000);
}

emitter.addListener("test",function(){
    console.log("!!!!!!!!!");
});
//tt();
gpio.close(7);
gpio.close(11);

